#include the directories you want

INCLUDE_DIRECTORIES (${HELLO_SOURCE_DIR}/Hello)
INCLUDE_DIRECTORIES (${HELLO_SOURCE_DIR}/Strings)


#the executable
ADD_EXECUTABLE (helloRun test)
ADD_EXECUTABLE (input_test_run input_test)
ADD_EXECUTABLE (input_test_run2 input_test2)
ADD_EXECUTABLE (input_test_run3 input_test3)
ADD_EXECUTABLE (main_ch3 main_ch3)
ADD_EXECUTABLE (map_test map_test)
ADD_EXECUTABLE (generic_test generic_test)
ADD_EXECUTABLE (class_test class_test)
ADD_EXECUTABLE (inheritance_test inheritance_test)
ADD_EXECUTABLE (pointer_test1 pointer_test1)
ADD_EXECUTABLE (pointer_test2 pointer_test2)


#the library
TARGET_LINK_LIBRARIES (helloRun hiho)
TARGET_LINK_LIBRARIES (main_ch3 grade median Student_info)
TARGET_LINK_LIBRARIES (map_test worc)
TARGET_LINK_LIBRARIES (generic_test generiman)
TARGET_LINK_LIBRARIES (class_test classdef)
TARGET_LINK_LIBRARIES (inheritance_test inheritance)


